<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="../css/glass.css">
</head>
<body>
    <div class="box"></div>

    <script src="../js/glass.js"></script>
    <script>
        const arr = [
            {id:1, small:'1.small.jpg',large:'1.large.jpg'},
            {id:2, small:'2.small.jpg',large:'2.large.jpg'},
            {id:3, small:'3.small.jpg',large:'3.large.jpg'},
        ];

        const oBox = document.querySelector('.box');

        const oGlassObj = new CreateGlasObh(oBox,arr);
        oGlassObj.init();

    </script>
</body>
</html>